﻿// nodeID and nodeType are properties of the umbracoDefault.js script which will be accessible from this file.

// These are the properties of the node that has been right clicked to create the context menu.
// These properties will be helpful in doing something useful with the script.

function UploadFiles(title) {
    if (nodeID != '-1' && nodeType != '') {

        parent.openModal('/umbraco/filemanager/Dialogs/UploadFiles.aspx?folder=' + encodeURI(nodeID), title, 430, 450);

        return false;
    }
}